<?php

class RoomsController extends AppController {
    
    // define controller name
    var $name = 'Rooms';
    
    // define list of models to use 
    var $uses = array();
    
    
    
    public function beforeFilter() {
        parent::beforeFilter();
        
    }
    
    public function isAuthorized() {
        
        $valid = parent::isAuthorized();
        if ($valid == false) {
            return false;
        }
        
        return true;
    }
    
    
    // create a new user
    public function create() {
    }
    
    public function delete($id = null) {
        //todo
    }
    
    public function edit($id = null) {
        //todo
    }
    
    public function view($id = null) {
        //todo
    }
    
    public function index() {
        //todo
    }
    
    public function get_items() {
        //todo
    }
    
}

?>